<%@ page language="java" contentType="text/html; charset=utf-8"   pageEncoding="utf-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%@ include file="/commons/meta.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="${ctx}/css/style.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${ctx}/js/jquery.js"></script>
<script type="text/javascript" src="${ctx}/js/select-ui.min.js"></script>

  <script type="text/javascript">

</script>
  
<script type="text/javascript">
$(document).ready(function(e) {
    $(".select1").uedSelect({
		width : 345			  
	});
 
});
</script>
</head>

<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">首页</a></li>
    <li><a href="#">新增课程</a></li>
    </ul>
    </div>
    
    <div class="formbody">
    
    
    <div id="usual1" class="usual"> 
    
 <form action="${ctx}/course/saveCourse" method="post"   id="courseForm">
    
    <input type="hidden" name="courseId" value="${bcCourse.bc_course_id }" />
    
    <ul class="forminfo">
   
    <li><label>所属栏目<b>*</b></label>  
    

    <div class="vocation">
    <select class="select1" name="navId" value="${bcCourse.bc_navigation_id}">
    <c:forEach items="${bcnavs}" var="bcnav">
    	<option value="${bcnav.bc_navigation_id }">${bcnav.nav_name }</option>
    </c:forEach>
    
    </select>
    </div>
    
    </li>
       <li><label>教程名称<b>*</b></label><input name="courseName" type="text" class="dfinput" value="${bcCourse.course_name}"  style="width:518px;"/></li>
     <li><label>重点内容<b>*</b></label><input name="coursekey" type="text" class="dfinput" value="${bcCourse.keynote}"  style="width:518px;"/></li>
    
    <li><label>教程简介<b>*</b></label>
    <textarea  name="courseintro" style="width:700px;height:250px;border-width:1px;border-style:solid;border-color:#bababa #e9e9e9 #e9e9e9 #bababa;">${bcCourse.introduction}</textarea>
    </li>
    <li><label>&nbsp;</label><input  type="button" onclick="check()" class="btn" value="马上发布"/></li>
    <li><font>${msg }</font></li> </ul>
     </form>
	</div> 
    </div>
<script  type="text/javascript">
	function check(){
		 $('#courseForm').submit();
	}
</script>

</body>

</html>
